<script setup lang="ts">
import { computed } from 'vue';
import { alertGradeOptions } from '@/common/common';
import { requireImgUrl } from '@/utils/localurl/metaUrl';
const props = defineProps({
    alertGrade: {
        type: String,
        default: ''
    },
    alertContent: {
        type: String,
        default: ''
    },
    alertTime: {
        type: String,
        default: ''
    }
})

</script>

<template>
    <div class="notification fs14">
        <div class="left">
            <img :src="requireImgUrl('icons','alert')" alt="" class="size32">
        </div>
        <div class="notification-content">
            <div class="content">{{ alertContent }}</div>
            <div class="time">{{ alertTime }}</div>
        </div>
    </div>
</template>

<style scoped lang="scss">
.notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: clamp(2.813rem, 2.34vw, 5.625rem);
    cursor: pointer;

    .left {
        flex: 0.1;
    }

    .notification-content {
        flex: 0.9;
        display: flex;
        width: 100%;
        text-shadow: 0px 0px 4px #EB3C32;
        color: #FFFFFF;
        justify-content: space-between;
        align-items: center;
        margin-left: 20px;

        .content {
            flex: 0.6;

        }

        .time {
            flex: 0.4;
            text-align: center;
 
        }
    }
}
</style>
